<?php
    $thuoctinh = $_SESSION['readonly'];
    $maphong = $_SESSION['maphong'];
    $tenphong = $_SESSION['tenphong'];
    $matruongphong = $_SESSION['MaTRGP'];
    $ngaynhanchuc = $_SESSION['NgayNhanChuc'];
    $ghichupb = $_SESSION['ghichupb'];
    $action = $_SESSION['action'];
?>
    <div id="caidat">
        <div class="formHeader">
            <p> <?php echo $_SESSION['tenfrm'] ;?></p>
        
        </div>
        <div id="formContent">
            <form action="<?php echo $action; ?>" method="post" id="frmphongban" name="frmphongban" onsubmit="return kiemtrafrmpb();">
                <table cellspacing = 0 cellpadding =0>
                    <tr>
                        <td align="right">Mã Phòng ban</td>
                        
                        <td>
                            <input type="text" size="30" id="maphong" name="maphong" value="<?php echo $maphong; ?>" <?php echo $thuoctinh; ?>  />
                        </td>
                    
                    </tr>

                    <tr>
                        <td align="right">Tên Phòng ban</td>
                        
                        <td>
                            <input type="text" size="30" id="tenphong" name="tenphong" value="<?php echo $tenphong; ?>" />
                        </td>
                    
                    </tr>
                    
                    <tr>
                        <td align="right">Mã Trưởng phòng</td>
                        
                        <td>
                            <input type="text" size="30" id="matruongphong" name="matruongphong" value="<?php echo $matruongphong; ?>" />
                        </td>
                    
                    </tr>
                    
                   
                    <tr>
                        <td align="right">Ngày nhận chức</td>
                        
                        <td>
                            <input type="text" size="30" id="ngaynhanchuc" name="ngaynhanchuc" value="<?php echo $ngaynhanchuc; ?>" />
                        </td>
                    
                    </tr>
                    
                    <tr>
                        <td align="right">Ghi chú</td>
                        
                        <td>
                            <input type="text" size="30" id="ghichupb" name="ghichupb" value="<?php echo $ghichupb; ?>" />
                        </td>
                    
                    </tr>
                    
                                        
                    <tr>
                        <td colspan="3" align ="center">
                            <input type="submit" value="Lưu Lại" id="themMoi" name="themMoi"/>
                            <input type="reset" value="Nhập Lại" id="nhapLai" name="nhapLai" onclick="clearTextbox();" />
                        </td>
 
                    </tr>
                    
                </table>
            </form>
        </div>
    </div>
    <div class="statusindex">
                <p> <?php echo $_SESSION['thongbao']; unset ($_SESSION['thongbao']);  ?></p>
    </div>
